<table class="table-grid">
    <thead>
        <tr><th>名称</th><th>排序</th><th>备注</th><th>时间</th><th>操作</th></tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr><td>{$vo.category_name}</td><td>{$vo.ordinal}</td><td>{$vo.remark}</td><td>{$vo.create_time}</td><td><a href="{:U('ProductCategory/category_edit','id='.$vo['id'])}" class="btn-edit">编辑</a><a href="{:U('ProductCategory/category_delete','id='.$vo['id'])}" class="btn-trash lnk-confirm">删除</a></td></tr>
        <foreach name="vo['sub']" item="vo2" key="key2">
            <tr><td>----{$vo2.category_name}</td><td>{$vo2.ordinal}</td><td>{$vo2.remark}</td><td>{$vo2.create_time}</td><td><a href="{:U('ProductCategory/category_edit','id='.$vo2['id'])}" class="btn-edit">编辑</a><a href="{:U('ProductCategory/category_delete','id='.$vo2['id'])}" class="btn-trash lnk-confirm">删除</a></td></tr>
            <foreach name="vo2['sub']" item="vo3" key="key3">
                <tr><td>--------{$vo3.category_name}</td><td>{$vo3.ordinal}</td><td>{$vo3.remark}</td><td>{$vo3.create_time}</td><td><a href="{:U('ProductCategory/category_edit','id='.$vo3['id'])}" class="btn-edit">编辑</a><a href="{:U('ProductCategory/category_delete','id='.$vo3['id'])}" class="btn-trash lnk-confirm">删除</a></td></tr>
            </foreach>
        </foreach>
    </foreach>
</tbody>
</table>
{$pager}